#include <stdio.h>
const int flag = 0;
int sum (int b, int e)
{
    int sum = 0;
    for(int i = b; i <= e; ++i)
    {
        sum += i;
    }
    return sum * flag;
}

int main()
{
    int begin = 1, end = 100;
    printf("I will begin\n");
    printf("running done, result is: [%d - %d] = %d\n", begin, end, sum(begin, end));
    printf("I will begin\n");
    printf("running done, result is: [%d - %d] = %d\n", begin, end, sum(begin, end));
    printf("I will begin\n");
    printf("running done, result is: [%d - %d] = %d\n", begin, end, sum(begin, end));
    printf("I will begin\n");
    printf("running done, result is: [%d - %d] = %d\n", begin, end, sum(begin, end));
    printf("I will begin\n");
    printf("running done, result is: [%d - %d] = %d\n", begin, end, sum(begin, end));
    printf("I will begin\n");
    printf("running done, result is: [%d - %d] = %d\n", begin, end, sum(begin, end));
    printf("I will begin\n");
    printf("running done, result is: [%d - %d] = %d\n", begin, end, sum(begin, end));
    return 0;
}
